package thread;

public class demo19 {
    public static void main(String[] args) {
        Object locker = new Object();
        synchronized(locker){
            synchronized(locker){
                System.out.println("hello");
                synchronized(locker){
                    System.out.println();
                }
            }
        }
    }
}
